package com.ctshk.rpc.order.custom.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单收据
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-02-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_customized_order_receipt")
@ApiModel(value="CustomizedOrderReceipt对象", description="订单收据")
public class CustomizedOrderReceipt extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属订单")
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @ApiModelProperty(value = "收据编号")
    private String receiptNumber;

    @ApiModelProperty(value = "收据抬头")
    private String receiptHeader;

    @ApiModelProperty(value = "收据类型")
    private Integer receiptType;

    @ApiModelProperty(value = "收据金额")
    private BigDecimal receiptAmount;

    @ApiModelProperty(value = "包含旅客数量")
    private Integer includeTouristNum;

    @ApiModelProperty(value = "开具时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "作废时间")
    private LocalDateTime voidTime;

    @ApiModelProperty(value = "作废原因")
    private String voidReason;

    @ApiModelProperty(value = "收据状态(0 作废 1 可用)")
    private Integer receiptStatus;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
